﻿@using Model;
@using Cake_Management.Models;
@model Customer

<form class="form-horizontal">
    <div class="control-group">
        <label class="control-label" for="CustomerName ">账户</label>
        <div class="controls">
            <input type="text" id="CustomerName" value="@Model.CustomerName" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="Password ">密码</label>
        <div class="controls">
            <input type="text" id="Password" value="@Model.Password" />
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="Email ">邮箱</label>
        <div class="controls">
            <input type="text" id="Email" value="@Model.Email" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="CName ">真实姓名</label>
        <div class="controls">
            <input type="text" id="CName" value="@Model.CName" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="Areas ">大概地址</label>
        <div class="controls">
            <input type="text" id="Areas" value="@Model.Areas" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="QQ ">QQ</label>
        <div class="controls">
            <input type="text" id="QQ" value="@Model.QQ" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="Avatar">头像</label>
        <div class="controls">
            <input type="file" id="Avatar" placeholder=""><a href="#" data-value="@Model.Avatar" target="_blank" id="viewimg" style="display:none">点我预览</a>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="Gender ">性别</label>
        <div class="controls">
            <select id="Gender">
                <option value="2" @(Model.Gender.Value == 2 ? "selected" : "")>女</option>
                <option value="3" @(Model.Gender.Value == 1 ? "selected" : "")>隐藏</option>
                <option value="1" @(Model.Gender.Value == 3 ? "selected" : "")>男</option>
            </select>
        </div>
    </div>
        <div class="control-group">
            <label class="control-label" for="Birthday ">生日</label>
            <div class="controls">
                <input type="text" id="Birthday" value="@Model.Birthday" />
            </div>
        </div>
</form>

